package data;

public class Goods extends Record{

	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private double price;
	public Goods(String ID,String name,double price){
		this.ID=ID;
		this.name=name;
		this.price=price;
	}
	public String getGoodsInfo(){
		return ID+","+name+","+price;
	}
	
}
